package com.open.capacity.paper.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liangd
 * @since 2021-03-03 10:35
 */
@Data
public class QuestionExcelVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 问题Id,主键，自增
     */
    private Integer quesid;

    /**
     * 问题标题
     */
    @Excel(name = "问题标题", height = 20, width = 30, isImportField = "true_st")
    private String qtitle;

    /**
     * 问题说明
     */
    @Excel(name = "问题说明", height = 20, width = 30, isImportField = "true_st")
    private String instru;

    /**
     * 题型 1单选 2多选 3主观
     */
    @Excel(name = "题型", replace = { "单选_1", "多选_2","主观_3" }, suffix = "题", isImportField = "true_st",width = 20)
    private Integer qutype;

    /**
     * 分值
     */
    private Integer qvalue;

    /**
     * 数据状态1:正常 2:逻辑删除
     */
    private Integer status;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss", isImportField = "true_st", width = 20)
    private Date cretim;

    /**
     * 修改时间
     */
    @Excel(name = "修改时间", format = "yyyy-MM-dd HH:mm:ss", isImportField = "true_st", width = 20)
    private Date updtim;
}
